In this section we cover and explain Multicast Constructor in Multicast Socket in details for freshers and experienced
previous | Home | Next |
Multicast Constructor using in Multicast Socket
If you using the Multicast Socket in Networking then using the Multicast Constructor.
Example
import sun.net.*; import java.net.*; import java.io.*; public class Multicastconstructor { public static void main(String[] args) { try { MulticastSocket multisoc = new MulticastSocket(); System.out.println(multisoc); } catch (SocketException se) { System.err.println(se); } catch (IOException ioe) { System.err.println(ioe); } } }
previous | Home | Next |